﻿#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <time.h>

int main()
{
    int now = time(0);
    now = now + 3600 * 8;
    int hour = now % (24 * 3600) / 3600;
    int minute = now % 3600 / 60;
    int second = now % 60;
    printf("北京时间%d:%d:%d", hour, minute, second);
    return 0;
}